package com.zby.service.imp;

import com.zby.mapper.ContentBlocksMapper;
import com.zby.model.pojo.ContentBlocks;
import com.zby.service.ContentBlocksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wuyanzhu
 */
@Service
public class ContentBlocksServiceImp implements ContentBlocksService {
    @Autowired
    public ContentBlocksMapper contentBlocksMapper;
    @Override
    public int insertContentBlocks(ContentBlocks contentBlocks) {

        return  contentBlocksMapper.addContentBlocks(contentBlocks);

    }
}
